package com.zyg.cart.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by WF on 2021/11/12 14:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbOrderItem implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    /**
     * 商品id
     */
    private Long itemId;
    /**
     * SPU_ID
     */
    private Long goodsId;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 商品标题
     */
    private String title;
    /**
     * 商品单价
     */
    private BigDecimal price;
    /**
     * 商品购买数量
     */
    private Integer num;
    /**
     * 商品总金额
     */
    private BigDecimal totalFee;
    /**
     * 商品图片地址
     */
    private String picPath;
    private String sellerId;
}